package org.gd.hellojavacore.tests;

import java.util.ArrayList;
import java.util.List;

public class SwitchTest {

    public static void main(String...s) {
        List<Object> al = new ArrayList<Object>();
        for(int i=0; i<11; i++) {
            al.add(new Object());
        }
        System.out.println(al.size() % 10);
        switch (al.size() % 10) {
            case 1:
                System.out.println(" platizh na sumu ");
                break;
            case 2:
            case 3:
            case 4:
                System.out.println(" platizhi na sumu ");
                break;
            default:
                System.out.println(" platizhiv na sumu ");
                break;
        }
    }
}
